feat: add useTagGroup and other fixes#48
Merged
silviuaavram merged 8 commits intomasterfrom Jan 30, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces the new useTagGroup hook to Downshift, providing an accessible solution for building tag group components. The PR updates the downshift package to version 9.1.0-alpha.7, adds comprehensive documentation for the new hook, and updates existing hook documentation to reference the new tag group functionality.
Changes:
- Added
useTagGrouphook import and export in ReactLiveScope for live code examples - Updated downshift package to version 9.1.0-alpha.7 to support the new hook
- Created comprehensive documentation for
useTagGroupwith usage examples - Updated
useSelect,useCombobox, anduseMultipleSelectiondocumentation to include tag group integration examples and deprecation notices - Restructured migration guide references across documentation files to include v9
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| src/theme/ReactLiveScope/index.js | Added useTagGroup hook import and export for live code examples |
| package.json | Updated downshift version from ^8.3.2 to 9.1.0-alpha.7 |
| docs/hooks/useTagGroup.mdx | New documentation file for useTagGroup hook with basic usage example |
| docs/hooks/useSelect.mdx | Added tag group integration example and v9 migration guide references |
| docs/hooks/useMultipleSelection.mdx | Added deprecation notice recommending useTagGroup and v9 migration guide references |
| docs/hooks/useCombobox.mdx | Added tag group integration example and v9 migration guide references |
| docs/hooks/index.mdx | Restructured migration guides section to include v8 and v9 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds useTagGroup.
Mentions useMultipleSelection deprecation.
Other improvements suggested by copilot.